package com.zhuanzhuan.hero.user.service;

import java.util.Map;

/**
 * @ClassName IPushService
 * @Description
 * @Author hanjunjun
 * @Date 2024/8/1 10:30
 */
public interface IPushService {

    /**
     * 靠谱认证 发送push
     *
     * @param fromUid
     * @param toUid
     * @return void
     * @author  hanjunjun
     * @date 2024/8/1
     **/
    void reliableSendPush(Long fromUid, Long toUid);

    /**
     * 同行认证
     *
     * @param fromUid
     * @param toUid
     * @return void
     * @author  hanjunjun
     * @date 2024/8/1
     **/
    void fraternithSendPush(Long fromUid, Long toUid);

    /**
     * 异步发push
     *
     * @param receiverId
     * @param templateId
     * @param paramMap
     * @return void
     * @author  hanjunjun
     * @date 2024/8/1
     **/
    void sendPushAsync(Long receiverId, Integer templateId, Map<String, String> paramMap);
}
